// @flow
import { bindActionCreators } from 'redux';
import store from './index';
// import { actionCreators as authActions, type AuthActionCreators } from './modules/auth';
// import { actionCreators as userActions, type UserActionCreators } from './modules/user';
// import { actionCreators as baseActions, type BaseActionCreators } from './modules/base';
import { actionCreators as thingsActions, type ThingsActionCreators } from './modules/things';
import { actionCreators as commonActions, type CommonActionCreators } from './modules/common';
import { actionCreators as payActions, type PayActionCreators } from './modules/pay';

const { dispatch } = store;

// export const AuthActions: AuthActionCreators = bindActionCreators(authActions, dispatch);
// export const UserActions: UserActionCreators = bindActionCreators(userActions, dispatch);
// export const BaseActions: BaseActionCreators = bindActionCreators(baseActions, dispatch);
export const ThingsActions: ThingsActionCreators = bindActionCreators(thingsActions, dispatch);
export const CommonActions: CommonActionCreators = bindActionCreators(commonActions, dispatch);
export const PayActions: PayActionCreators = bindActionCreators(payActions, dispatch);
